package org.jcut.dao;

import org.jcut.bean.Admin;
import org.springframework.stereotype.Repository;

@Repository
public interface IAdmin {
    int deleteByPrimaryKey(String admin);
    
    long login(Admin admin);
    
    int insert(Admin record);

    int insertSelective(Admin record);

    Admin selectByPrimaryKey(String admin);

    int updateByPrimaryKeySelective(Admin record);

    int updateByPrimaryKey(Admin record);
}